const reg = document.querySelectorAll('.content ul li')
for (i = 0; i < reg.length; i++) {
    reg[i].onclick = ()=>{
        window.location.href = './src/html/Details.html'
    }
}
const lii = document.querySelectorAll('.searchbar ul li')[0]
const uls = document.querySelectorAll('.searchbar ul li ul')[0]
const lii1 = document.querySelectorAll('.searchbar ul .lii1')[0]
const uls1 = document.querySelectorAll('.searchbar ul .lii1 ul')[0]
console.log(lii1,uls1);
lii.onmouseenter = ()=>{
    css(uls, 'display','block')
}
lii.onmouseleave = ()=>{
    css(uls,'display','none')
}
lii1.onmouseenter = ()=>{
    css(uls1, 'display','block')
}
lii1.onmouseleave = ()=>{
    css(uls1,'display','none')
}